<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>rush jd cloud</title>
</head>
<link th:href="@{/layui-v2.5.5/layui/css/layui.css}" rel="stylesheet"/>
<script type="text/javascript" th:src="@{/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/layui-v2.5.5/layui/layui.js}"></script>
<style>
    .layui-input-block{
        margin-top: 50px;
        margin-left: 42%;
    }
</style>
<body style="height: 100%; width: 100%">
<div id="mainDiv">
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="button" class="layui-btn layui-btn-normal" id="rush-data">填写参数</button>
            <button type="button" class="layui-btn layui-btn-normal" id="view-msg">查看结果</button>
        </div>
    </div>
</div>
</body>
<script>
    $(function () {
        $("#rush-data").click(function(){
            location.href = "/rush/add-data";
        });

        $("#view-msg").click(function(){
            location.href = "/rush/view-msg";
        });
    })
</script>
</html>